package com.dj.uphome.web.service.system;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.dj.uphome.web.vo.system.SysUserVo;

public interface SysUserService{
	SysUserVo create(SysUserVo vo) throws Exception;
	void delete(int id) throws Exception;
	SysUserVo findOne(int id) throws Exception;
	Page<SysUserVo> findPage(Pageable pageRequest, SysUserVo vo) throws Exception;
	
	
	SysUserVo getUserByNameAndPwd(String userName,String password) throws Exception;
	SysUserVo getUserByUserName(String userName) throws Exception;
	
}
